package com.yanqu.road.logic.model.kowloon.sanxiao;

import com.yanqu.road.entity.config.skill.SkillInfo;
import com.yanqu.road.logic.model.kowloon.KowloonConfig;
import com.yanqu.road.entity.kowloon.sanxiao.KowloonGameData;

import java.util.HashMap;
import java.util.Map;

public class KowloonEliminateParam {
    private int type; //1、换位  2、移出  3、销毁 4、选择技能

    private int fromX;
    private int fromY;
    private int toX;
    private int toY;
    private KowloonConfig config;
    private KowloonGameData gameData;
    private boolean firstMove;
    private int skillId; //选择技能时带技能id

    private Map<Integer, SkillInfo> kowloonSkillInfoMap = new HashMap<>();
    private boolean isGuide = false; //是否新手引导

    public int getFromX() {
        return fromX;
    }

    public void setFromX(int fromX) {
        this.fromX = fromX;
    }

    public int getFromY() {
        return fromY;
    }

    public void setFromY(int fromY) {
        this.fromY = fromY;
    }

    public int getToX() {
        return toX;
    }

    public void setToX(int toX) {
        this.toX = toX;
    }

    public int getToY() {
        return toY;
    }

    public void setToY(int toY) {
        this.toY = toY;
    }

    public KowloonConfig getConfig() {
        return config;
    }

    public void setConfig(KowloonConfig config) {
        this.config = config;
    }

    public boolean isFirstMove() {
        return firstMove;
    }

    public void setFirstMove(boolean firstMove) {
        this.firstMove = firstMove;
    }

    public KowloonGameData getGameData() {
        return gameData;
    }

    public void setGameData(KowloonGameData gameData) {
        this.gameData = gameData;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSkillId() {
        return skillId;
    }

    public void setSkillId(int skillId) {
        this.skillId = skillId;
    }

    public Map<Integer, SkillInfo> getKowloonSkillInfoMap() {
        return kowloonSkillInfoMap;
    }

    public void setKowloonSkillInfoMap(Map<Integer, SkillInfo> kowloonSkillInfoMap) {
        this.kowloonSkillInfoMap = kowloonSkillInfoMap;
    }

    public SkillInfo getKowloonSkillInfo(int skillId) {
        return kowloonSkillInfoMap.get(skillId);
    }

    public boolean isGuide() {
        return isGuide;
    }

    public void setGuide(boolean guide) {
        isGuide = guide;
    }
}
